using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
namespace Coding4Fun.Phone.Controls
{
	[ContentProperty("Content")]
	public class Tile : Button
	{
		public static readonly DependencyProperty TitleProperty = DependencyProperty.Register("Title", typeof(string), typeof(Tile), new PropertyMetadata(""));
		public static readonly DependencyProperty TextWrappingProperty = DependencyProperty.Register("TextWrapping", typeof(TextWrapping), typeof(Tile), new PropertyMetadata(1));
		public string Title
		{
			get
			{
				return (string)base.GetValue(Tile.TitleProperty);
			}
			set
			{
				base.SetValue(Tile.TitleProperty, value);
			}
		}
		public TextWrapping TextWrapping
		{
			get
			{
				return (TextWrapping)base.GetValue(Tile.TextWrappingProperty);
			}
			set
			{
				base.SetValue(Tile.TextWrappingProperty, value);
			}
		}
		public Tile()
		{
			base.set_DefaultStyleKey(typeof(Tile));
		}
	}
}
